local key1 = "addresslist:id:" .. KEYS[1]
local key2 = "addresslist:id:" .. KEYS[2]
local key3 = "chat:caht_list:ID_" .. KEYS[1]
local key4 = "chat:caht_list:ID_" .. KEYS[2]
local key5 = "chat:chat_object:ID_" .. KEYS[1] .. ":" .. KEYS[2]
local key6 = "chat:chat_object:ID_" .. KEYS[2] .. ":" .. KEYS[1]
local key7 = "addresslist:friendList:ID_" .. KEYS[1]
local key8 = "addresslist:friendList:ID_" .. KEYS[2]
local key9 = "chat:chat_content:ID_" .. KEYS[1] .. ":" .. KEYS[2]
local key10 = "chat:chat_content:ID_" .. KEYS[2] .. ":" .. KEYS[1]

redis.call('SREM',key1,KEYS[2])
redis.call('SREM',key2,KEYS[1])
redis.call('ZREM',key3,KEYS[2])
redis.call('ZREM',key4,KEYS[1])
redis.call('DEL',key5)
redis.call('DEL',key6)
redis.call('DEL',key7)
redis.call('DEL',key8)
redis.call('DEL',key9)
redis.call('DEL',key10)

